package com.i2863.receiptinterface.service;

import com.i2863.receiptinterface.entity.Winner;

import java.util.List;

public interface WinnerService {

    Winner findOne(Integer Id);

    List<Winner> findAll();

    void update(Winner winner);

    void delete(Integer Id);

    void add(Winner winner);

    List<Winner> findByPhoneNumAndSiteId(String phoneNum, List<Integer> activityIdList);

    List<Winner> findByPhoneNumAndSiteIdForPage(String phoneNum,List<Integer> activityIdList,Integer lastId);
}
